package org.jeecg.modules.door.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 门锁房间人员信息
 * @Author: jeecg-boot
 * @Date:   2022-06-15
 * @Version: V1.0
 */
@Data
@ApiModel(value="门锁房间人员对象", description="门锁管理")
public class LwgyEglockRoomUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

	/**房间id*/
    @ApiModelProperty(value = "房间id")
    private String roomId;
	/**工号/学号*/
    @Excel(name = "工号/学号", width = 15)
    @ApiModelProperty(value = "工号/学号")
    private String number;
	/**姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String name;
    /**性别*/
    @ApiModelProperty(value = "性别")
    @Excel(name = "性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
    private String sex;
    /**人员类型*/
    @ApiModelProperty(value = "人员类型")
    @Excel(name = "人员类型", width = 15)
    private String type;

}
